package com.wzh.glsc.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.math.BigDecimal;

@FeignClient("glsc-product")
public interface ProductServiceFeign {

    @RequestMapping("product/skuinfo/{skuId}/price")
    public BigDecimal priceBySkuId(@PathVariable("skuId") Long skuId);
}
